<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<!-- 引入特效 -->
	<jsp:include page="texiao3.jsp"></jsp:include>
	<jsp:include page="texiao5.jsp"></jsp:include>
	<!-- 引入头部 -->
	<jsp:include page="head.jsp"></jsp:include>

	<section class="pro-list">
		<aside class="pro-leftsidebar">
			<ul>
				<li><a>产品搜索</a>
					<ul id="pro-search">
						<li>
							<form action="ChanPinServlet?method=toSearch" method="post">
								<input type="text" name="searchName" class="pro-search"
									style="color: white">
								<button type="submit"
									class="layui-btn layui-btn-xs layui-btn-primary">搜索</button>
							</form>
						</li>
					</ul></li>
				<li><a>产品分类</a>
					<ul id="pro-category">
						<c:forEach items="${type}" var="obj">
							<li><a
								href="ChanPinServlet?method=toDisplay3&productTypeId=${obj.productTypeId }">${obj.typeName }</a></li>
						</c:forEach>
					</ul></li>
			</ul>
		</aside>
		<aside class="pro-rightsidebar">
			<header>
				<p></p>
				<span>椅子系列</span>
			</header>
			<ul>
				<!-- 图片循环 -->
				<c:forEach items="${Productdetails }" var="pro">
					<li>
						<div class="img-box">
							<a href="ChanPinServlet?method=toDisplay2&id=${pro.proid}"> <img
								src="${pro.proUrl }">
								<p>${pro.name }</p>
							</a>
						</div>
					</li>
				</c:forEach>
			</ul>
			<!--
        <div class="pro_list_more_pages">
            <ul>
                <li><a>上一页</a></li>
                <li class="pro-list-current"><a>1</a></li>
                <li><a>2</a></li>
                <li><a>3</a></li>
                <li><a>下一页</a></li>
            </ul>
        </div>
		-->
		</aside>
	</section>
	<!-- 引入脚部 -->
	<jsp:include page="foot.jsp"></jsp:include>
</body>
</html>
